﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;

namespace Zocono.WCS.Domain.UserManageDomain
{
    public interface IRoleInfoService:IDomainService
    {
        /// <summary>
        /// 添加角色
        /// </summary>
        /// <returns></returns>
        Task<bool> AddRoleInfoAsync(RoleInfoApiDto roleInfoDto);

        /// <summary>
        /// 获取角色信息
        /// </summary>
        /// <returns></returns>
        Task<List<RoleInfoApiDto>> GetRoleInfoAsync();

        /// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="roleID"></param>
        /// <returns></returns>
        Task<bool> DeleteRoleInfoAsync(long roleID);
    }
}
